﻿using Microsoft.AspNetCore.Mvc;

namespace GroupTwo_MVC.Controllers
{
    public class SaleOutController : Controller
    {
        private readonly IConfiguration _configuration;

        public SaleOutController(IConfiguration configuration)
        {
            _configuration = configuration;
        }
        /// <summary>
        /// 销售出库列表页面
        /// </summary>
        /// <returns></returns>
        public IActionResult GetSaleOut()
        {
            ViewBag.BaseUrl = _configuration.GetSection("BaseUrl").Get<string>();
            return View();
        }
        /// <summary>
        /// 销售出库添加页面
        /// </summary>
        /// <returns></returns>
        public IActionResult AddSaleOut()
        {
            ViewBag.BaseUrl = _configuration.GetSection("BaseUrl").Get<string>();
            return View();
        }
        /// <summary>
        /// 销售出库修改页面
        /// </summary>
        /// <returns></returns>
        public IActionResult UptSaleOut()
        {
            ViewBag.BaseUrl = _configuration.GetSection("BaseUrl").Get<string>();
            return View();
        }
    }
}
